feat(BEVFusion): export bevfusion-camera onnx#183
Merged
KSeangTan merged 34 commits intotier4:mainfrom Feb 13, 2026
Merged
Conversation
amadeuszsz
reviewed
Feb 13, 2026
projects/BEVFusion/configs/deploy/bevfusion_camera_point_bev_tensorrt_dynamic.py
Show resolved
Hide resolved
amadeuszsz
reviewed
Feb 13, 2026
amadeuszsz
reviewed
Feb 13, 2026
amadeuszsz
reviewed
Feb 13, 2026
amadeuszsz
approved these changes
Feb 13, 2026
Collaborator
amadeuszsz
left a comment
There was a problem hiding this comment.
Overall LGTM, minor comments.
Please consider if we can update README file 🙏🏻.
Collaborator
Author
Thanks! It's updated here: 78f4337 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the deployment script in BEVFusion for LiDAR and Camera-only. This PR also cleans up the code in
torch2onnxto make it more modular.Change point
pointsis not available [1]projects/BEVFusion/configs/deploy/bevfusion_camera_point_bev_tensorrt_dynamic.pyfor bevfusion_camera_only deployment config [2]projects/BEVFusion/configs/deploy/bevfusion_main_body_lidar_only_intensity_tensorrt_dynamic.pyfor bevfusion_lidar_only with intensities [3]projects/BEVFusion/deploy/builder.pyto move all code related to ONNX deployment configs to this file [4]TrtBevFusionCameraOnlyContainerto container for the camera-only network [5]projects/BEVFusion/deploy/exporter.pyto move all code related to model export to this file [5]projects/BEVFusion/deploy/utils.pyto move all code related to config setup to this file [6]VoxelDetectionto include the cases for images and lidar points [7], [8], [9]Test performed
Autoware. However, the camera-only is not tested yet since we need to make few changes first.